home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / net / tc_act / tc_pedit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  307 b   |  16 lines

  1. #ifndef __NET_TC_PED_H
  2. #define __NET_TC_PED_H
  3.  
  4. #include <net/act_api.h>
  5.  
  6. struct tcf_pedit {
  7.     struct tcf_common    common;
  8.     unsigned char        tcfp_nkeys;
  9.     unsigned char        tcfp_flags;
  10.     struct tc_pedit_key    *tcfp_keys;
  11. };
  12. #define to_pedit(pc) \
  13.     container_of(pc, struct tcf_pedit, common)
  14.  
  15. #endif /* __NET_TC_PED_H */
  16.